Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more Threadblock Tiles for Mixed-input TensorOp (BF16 * S8) in cutlass_library #1132

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

manishucsd
Copy link
Contributor

@manishucsd manishucsd commented Oct 9, 2023

This PR adds more ThreadblockShapes (CTA) tile shapes in cutlass_library. More ThreadblockShapes are need to autotune and choose the most performant tile shapes for mixed-input GEMMs.

cutlass_library

For the cutlass_library, it adds more ThreadblockShapes into two GenerateSM80* function:

  • GenerateSM80_TensorOp_16816_mixed_input_upcast_a : For upcast on operand A (e.g. S8* BF16)
  • GenerateSM80_TensorOp_16816_mixed_input_upcast_b : For upcast on operand B (e.g. BF16 * S8)

Unit tests

More tile shapes needs different warp-configurations and this PR adds more device- and warp-level tests ensuring that those configurations are functionally solid (and remains solid).

@manishucsd manishucsd changed the title Adding more Threadblock Tiles for Mixed-input TensorOp in cutlass_library Adding more Threadblock Tiles for Mixed-input TensorOp (BF16 * S8) in cutlass_library Oct 9, 2023
.gitignore Show resolved Hide resolved
@hwu36 hwu36 merged commit 757275f into NVIDIA:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants